package com.united.ucts;

import com.united.frame.cache.redis.annotation.EnableRedis;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 网关服务主启动类
 *
 * @author hudan
 * @version 1.0
 * @filename UctsGateWayApplication.java
 * @copyright <a href="www.united.cn">www.united.cn</a>
 * @date 2019-10-10
 */
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = "com.united")
@RefreshScope
@EnableRedis
public class UctsGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(UctsGatewayApplication.class, args);
        System.out.println("==============================服务启动完成==============================");
    }
}